package com.cyp.blogsystem.controller;

import com.cyp.blogsystem.pojo.Result;
import org.springframework.web.bind.annotation.*;
import lombok.RequiredArgsConstructor;

@RestController
@RequestMapping("/api/v1/categories")
@RequiredArgsConstructor
public class CategoryController {

    /**
     * 获取分类列表
     */
    @GetMapping
    public Result<?> getCategoryList() {
        // TODO: 实现获取分类列表逻辑
        return Result.success(null);
    }
}